\begin{tikzpicture}

\definecolor{darkgray176}{RGB}{176,176,176}

\begin{axis}[
tick align=outside,
tick pos=left,
x grid style={darkgray176},
xmin=-1, xmax=5,
xtick style={color=black},
y grid style={darkgray176},
ymin=-4, ymax=3,
ytick style={color=black}
]
\addplot [semithick, blue]
table {%
0 1
0.2 0.30901699
0.4 -0.80901699
0.6 -0.80901699
0.8 0.30901699
1 1
1.2 0.30901699
1.4 -0.80901699
1.6 -0.80901699
1.8 0.30901699
2 1
2.2 0.30901699
2.4 -0.80901699
2.6 -0.80901699
2.8 0.30901699
3 1
3.2 0.30901699
3.4 -0.80901699
3.6 -0.80901699
3.8 0.30901699
4 1
4.2 0.30901699
4.4 -0.80901699
4.6 -0.80901699
4.8 0.30901699
};
\draw[->,draw=red] (axis cs:4.5,1.5) -- (axis cs:4,1);
\draw (axis cs:4.5,1.5) node[
  scale=0.5,
  anchor=base west,
  text=black,
  rotate=0.0
]{text};
\draw[->,draw=black] (axis cs:0,1) ++(-50pt,30pt) -- (axis cs:0,1);
\draw (axis cs:0,1) ++(-50pt,30pt) node[
  scale=0.5,
  anchor=base west,
  text=black,
  rotate=0.0
]{arrowstyle};
\draw (axis cs:50,-30) node[
  scale=0.5,
  anchor=base west,
  text=black,
  rotate=0.0
]{no arrow};
\end{axis}

\end{tikzpicture}
